﻿<h1>New article</h1>
<div id="flash"> 
    <% if flash[:notice] -%>
        <div id="notice"> <%= flash[:notice] %></div>
    <% end -%>
</div> 
<% form_tag :action => 'create' do %>
  <%= render :partial => 'form' %>
  <%= submit_tag "确定" %>
<% end %>

<%= link_to '返回', :action => 'list' %>
